/*
 * Created on Jun 6, 2005
 *
 */
package com.erclab.internal.xpresso.dataAccess;

import java.io.*;
import java.util.*;

import com.erclab.internal.xpresso.forms.Form;
import com.erclab.internal.xpresso.conf.*;

/**
 * @author Enrique Rodriguez.
 *
 */
public class FlatFileFormDAO implements FormDAO {


	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.dataAccess.FormDAO#createForm(java.lang.String)
	 */
	public Form createForm(String formName) {
		Form theForm = null;
		String pathToRepository = (String)Settings.getRepository().getRepositoryDataSource();
		// Load the properties
		Properties props = new Properties();
		// WORK : InputStream is = FlatFileForm.class.getClassLoader().getResourceAsStream(fileName); 
		// props.load(is);
		
		return theForm;
	}

	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.dataAccess.FormDAO#loadFormElements(com.erclab.internal.xpresso.forms.WebForm)
	 */
	public void loadFormElements(Form theForm) {
		// TODO Auto-generated method stub

	}


}
